package org.jeecg.modules.workservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * 类名称：WorkOrder
 * 类描述：工单表
 * 创建人：zwr
 * 创建时间：2021-08-28   9:24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ToString
public class WorkOrder {
  /**编号；UUID*/
  @TableId(type = IdType.ASSIGN_ID)
  @ApiModelProperty(value = "编号；UUID")
  private String workId;
  /**工单编号*/
  @Excel(name = "工单编号", width = 15)
  @ApiModelProperty(value = "工单编号")
  private String workNo;
  /**工单名称*/
  @Excel(name = "工单名称", width = 15)
  @ApiModelProperty(value = "工单名称")
  private String workName;
  /**客户名称*/
  @Excel(name = "客户名称", width = 15)
  @ApiModelProperty(value = "客户名称")
  private String workCustomer;
  /**客户手机号*/
  @Excel(name = "客户手机号", width = 15)
  @ApiModelProperty(value = "客户手机号")
  private String workPhone;
  /**客户地址*/
  @Excel(name = "客户地址", width = 15)
  @ApiModelProperty(value = "客户地址")
  private String workAddress;
  /**客户反馈*/
  @Excel(name = "客户反馈", width = 15)
  @ApiModelProperty(value = "客户反馈")
  private String workFeedback;
  /**工单状态*/
  @Excel(name = "工单状态", width = 15)
  @ApiModelProperty(value = "工单状态")
  @Dict(dicCode = "work_distribution")
  private Integer workDistribution;
  /**工单开始时间*/
  @Excel(name = "工单开始时间", width = 15)
  @ApiModelProperty(value = "工单开始时间")
  private String  workStart;
  /**工单结束时间*/
  @Excel(name = "工单结束时间", width = 15)
  @ApiModelProperty(value = "工单结束时间")
  private String workEnd;
  /**工单紧急程度*/
  @Excel(name = "工单紧急程度", width = 15)
  @ApiModelProperty(value = "工单紧急程度")
  private Integer workUrgent;
  /**工单完成时间*/
  @Excel(name = "工单完成时间", width = 15)
  @ApiModelProperty(value = "工单完成时间")
  private String workComplete;
  /**工单类型ID*/
  @Excel(name = "工单类型ID", width = 15)
  @ApiModelProperty(value = "工单类型ID")
  private String workType;
  /**创建人*/
  @Excel(name = "创建人", width = 15)
  @ApiModelProperty(value = "创建人")
  private String createBy;
  /**创建日期*/
  @Excel(name = "创建日期", width = 15)
  @ApiModelProperty(value = "创建日期")
  private String createTime;
  /**更新人*/
  @Excel(name = "更新人", width = 15)
  @ApiModelProperty(value = "更新人")
  private String updateBy;
  /**更新日期*/
  @Excel(name = "更新日期", width = 15)
  @ApiModelProperty(value = "更新日期")
  private String updateTime;


}
